package com.ym.medical.dao;


import com.ym.medical.domain.param.AppHealthPlateParam;
import com.ym.soso.domain.entity.AppHealthPlateEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


/**
 * ComputerName:LAPTOP-6GI4HOI6
 * Author:625
 * Date: 2019-07-17
 * Time: 14:30:03
 */
@Repository
public interface AppHealthPlateDao extends Mapper<AppHealthPlateEntity> {
	/**
	 * 阅读量+1
	 *
	 * @param id
	 * @param type
	 */
	void readInc(@Param("id") Long id, @Param("type") String type);

	/**
	 * 分页查询自定义
	 * @param query
	 * @return
	 */
	List<AppHealthPlateEntity> selectByModelCustom(AppHealthPlateParam query);
}